import java.util.Stack;

public class text {
    public static void main(String[] args) {
//        Stack<Integer> stack = new Stack<>();
//        System.out.println(stack.push(2));  //  2
        MyStack myStack = new MyStack();
        myStack.push(2);
        System.out.println(myStack.pop());
        myStack.push(2);
        myStack.push(2);
        myStack.push(100);
        System.out.println(myStack.pop());
    }
}
